package com.kingsoft.dc.khaos.module.spark.metadata.preprocess.transform

/**
  * create by yansu on 2019/07/25 10:28
  */
case class FilterInfo(extract_fields: List[FilterOptionInfo],
                      filter:String,
                      limit:Option[String],
                      advanced_options:AdvancedOption=null)

case class FilterOptionInfo(field: String = "",
                            data_type: String = "",
                            length: Option[String]
                           )

case class AdvancedOption(cache_option:FilterCacheInfo,
                          partition:FilterpartitionInfo)

case class FilterpartitionInfo(on_off:Boolean=false,
                               nums:String)

case class FilterCacheInfo(on_off:Boolean=false,
                           option:String)